let NewCompany={
    path: '/NewCompany',
    name: 'NewCompany',
    component: () => import('../../../views/Personal/Password/NewCompany.vue'),
    beforeEnter: (to, from, next) => {
        
            if (from.name == 'CompanyPassword') {
                next()
            }else if(sessionStorage.getItem('fName') && sessionStorage.getItem('fName')=='NewCompany'){
                next()
            }
    }
}
export default NewCompany